package com.lsj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lsj.common.utils.PageUtils;
import com.lsj.gulimall.product.entity.CategoryEntity;
import com.lsj.gulimall.product.vo.CategoryTwoVo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author lsj
 * @email 1326646663@qq.com
 * @date 2022-01-06 11:30:26
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getCategoryLevel1();

    Map<String, List<CategoryTwoVo>> getCatalogJson();
}

